Feature: Every landing page should have their own page titles
  Scenario Outline:  Check landing pages titles, contents
    Given I am on the "nbn homepage"
    Then  I should see page title "<homepage_title>"
    When  I visit the "<landing_page>"
    Then  I should see page title "<landing_page_title>"
    And   I should see page header "<page_header>" within "<landing_page>"
    And   I should not see "<other_company_name>"

  Examples:
    |landing_page|landing_page_title|homepage_title|other_company_name|page_header|
    |NBN for home|NBN Co - National Broadband Network - Australia \| NBN for home|NBN Co - National Broadband Network - Australia \| Home page|TPG|NBN for home|
    |NBN for business|NBN Co - National Broadband Network - Australia \| NBN for business  |NBN Co - National Broadband Network - Australia \| Home page|Telstra|NBN for business|

  Scenario Outline: Check home pages links
    Given I am on the "nbn homepage"
    Then  I should see below "<link_name>" point to "<url>"

    Examples:
    |link_name|url|
    |Connected to NBN fixed wireless|/blog/connected-to-nbn-fixed-wireless-what-its-like.html?icid=pub:hme:blogs:bod:txt|
    |Access seekers                 |/industry/service-providers.html?icid=pub:hme:access-seekers:bod:txt               |
    |Find a service provider        |/get-an-nbn-connection/certified-service-providers.html?icid=pub:home:find-a-sp:bod:txt|
    |New developments               |/industry/new-developments.html?icid=pub:hme:new-devs:bod:txt                          |
    |The NBN and your business      |/nbn-for-business/index.html?icid=pub:connect:business:bod:txt                         |
    |Job search                     |/about-us/working-for-us/jobs.html?icid=pub:hme:jobs:bod:txt                           |

